package com.sprucetec.live.base.entity;

import java.io.Serializable;

/**
 * Created with IntelliJ IDEA.
 * User: zhangyb
 * Date: 2018/12/4
 * Time: 16:48
 * Description: OSS附件对象
 **/
public class LiveAttachment implements Serializable {

    /**
     * oss文件服务器id
     */
    private String fileId;

    /**
     * 上传时的文件名
     */
    private String fileName;

    /**
     * 文件后缀
     */
    private String fileType;

    /**
     * 文件大小
     */
    private Long fileSize;

    public String getFileId() {
        return fileId;
    }

    public void setFileId(String fileId) {
        this.fileId = fileId;
    }

    public String getFileName() {
        return fileName;
    }

    public void setFileName(String fileName) {
        this.fileName = fileName;
    }

    public String getFileType() {
        return fileType;
    }

    public void setFileType(String fileType) {
        this.fileType = fileType;
    }

    public Long getFileSize() {
        return fileSize;
    }

    public void setFileSize(Long fileSize) {
        this.fileSize = fileSize;
    }

    @Override
    public String toString() {
        return "LiveAttachment{" +
                "fileId='" + fileId + '\'' +
                ", fileName='" + fileName + '\'' +
                ", fileType='" + fileType + '\'' +
                ", fileSize=" + fileSize +
                '}';
    }
}
